/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.supplier.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fuyao.cloud.asset.entity.AssetSupplier;
import com.fuyao.cloud.asset.vo.AssetSupplierMExcelVO;
import com.fuyao.cloud.asset.vo.FyAssetSupplierExcelVO;

import java.util.List;

/**
 * 供应商管理
 *
 * @author 时间的朋友
 * @date 2021-11-17 14:47:38
 */
public interface AssetSupplierService extends IService<AssetSupplier> {

    /**
    *  自定义导出
    * @return
    */
    List<FyAssetSupplierExcelVO> listExcel(QueryWrapper queryWrapper);

	/**
	 * 查询供应商信息
	 * @param query 查询构造器
	 * @return 供应商列表
	 */
	List<Tree<Long>> selectTree(QueryWrapper<AssetSupplier> query);

	List<AssetSupplierMExcelVO> listExcelTypeM(QueryWrapper queryWrapper);
}
